CodingForums

ساخت وبلاگ
Hello,

Need some help about editing or replacing multiple images into mysql base. I use custom mvc, and already have one form with products. Product have productId, title, desc, image ect. Another table is images with imageId, productId, imageName. Images table can contain multiple images by one productId. Now, need php code to edit these two tables.

Thank you..
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 164 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

I'm trying to add questions to my quiz database, but when I submit a question I get the number 23? The sql statements have been checked and are working OK ,if I alter the $insert_row =$conn, The question id is 0 instead of the next number, so no question or answers are added to the sql tables, if I try again it say that is a Duplicate entry '0' for key 'PRIMARY'23 I was following the video on you tube https://www.youtube.com/watch?v=jwY8XlVAcfE&t=211s PHP Code: <?php         session_start();          CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 166 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

I posted in the MySql forum and no replies so far. Here is the scenario. I have two tables, they are cloned from one another. Table A entries are file entries that are needed for a cfg file that I want at the end of all this, there is only 1 row. Table B entries are or will be dynamic. There will be many differet rows. Here is a very SIMPLE representation of the tables Table A Table B id id templatename templatename line1type= 12 line1value= 1 line1label= Line 1 The tem CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 181 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

Hello coding forums, I used a template for making a css website. You can see the website here: https://www.w3schools.com/w3css/tryw...lates_band.htm The website I made is here https://www.vinumousrecords.com/default2.htm I have a few problems with it. 1. On my contact page, the word "CONTACT" and the address below are unintentionally hyperlinked and I don't know why (see attached photo). I do not want them hyperlinked. The other 2 problems are with this website as it appears on a mobile phone. The 3 images at the top of the webpage that flash every few seconds in sequence, an CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 198 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

hi admin or others i want to use this script to display trading comment with number of comment in post eg 54=”veryhot” please check this script and correct error thanks

'<script> var count= ‘<?php $comment_num ?>'; if (count>=10) { document.write (“Trending!!”);} else if (count>=6) { document.write(“Super HOT!!”); } else if (count>=5) { document.write(“Extra HOT!!”);} else if (count>=4) { document.write(“HOT!!”);} else if (count>=3) { document.write(“New!”); } else if (count>=2) { document.write(“New!”);} else if (count>=1) { document.write(“New!”);} else {document.write(“1.0”);}</script>'

waiting for response thanks
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 171 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

So i am working on a template for a wiki. And something realy strange happened. I cant tell at which pint, but some links changed colours, but as i looked it up with firefoxtool and firebug the calculated value was another colour. Imgur: The most awesome images on the Inteet The Example for 2 links is here https://codepen.io/Vironic/pen/xLYEpE Both links have the same active styles and states.(The violetlike colour is not in the css managing havor/active etc. it would just underline them ) I pasted only the "active"/"used" Styles shown in firebug to codepen. So Firebug/ CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 171 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

Hello All,

My site works fine in the normal browsers and on Android but on iphone it narrows the site too much and the content over runs it.

Could someone please take a look and give me an idea of what might cause this?

Home Viewpoint... TV quality walk-through property films and professional photography from just

Kind regards

Alex
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 163 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

https://github.com/scottlininger/zelda30tribute Hi guys, here is a link to the source code: https://github.com/scottlininger/zelda30tribute ; I'm having soundmanager2 startup failures when I open the index.html in my firefox browser; 'There was a problem loading sound. Are your plugins disabled?' pops up on the games startup after the game loads into the title screen, than all sound becomes disabled, I was wondering if you could take a look at the code please. I've never debugged JavaScript before ; I tried contacting the author of the code too, but idk if he will respond so I am hoping you g CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 170 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

PHP Regex code:

(?: [^[] | [ (?! /?indent] ) | (?R) )

- (?: ...) - this is a non-capturing group, the whole thing here
- (?! ...) - negative lookahead. Specifies a group that cannot match after the main expression (if it matches the result is discarded)
- (?R) - recursion

I am at the beginning of leaing the regex and I am not understanding how this works as a whole. I guess I am not understanding some aspects like the OR operator or the recursion part?

a) How does the recursion work in the context of (?: A | B | (?R) )
b) Is OR, in general, behaving like this "if A matches I dont go to B?", and again the (?R) part in this context.

Thanks!
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 203 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

Hey guys, I'm just starting out in Javascript and I was trying to do two simple exercises. The first one takes an array and produces a new inverted one: function reverseArray(input) { var newArray=[]; for (var i=input.length-1; i>-1; i--) { newArray.push(input[i]); } retu newArray; } console.log(reverseArray(["A", "B", "C"])); // → ["C", "B", "A"]; The second one inverts the variable itself: function reverseArray(input) { var newArray=[]; var originalLength=input.length; for (var i=input.length-1; i& CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 188 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

Hi there i'm new to programming and trying out some stuff (nothing officieel) i would like to hover above an image and then see a description of the content (for now, just the message "click") once you click on the image. so far i've got this: (note that i only copied a small part) html <div class="image"> <img src="images/color-palette.jpg" alt="colors"> <img src="images/diy.jpg" alt="diy"> <img src="images/moodboard.jpg" alt="moodboard"> <img src="images/floorplanner.jpg&q CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 146 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

I have a background image and I would like the address to lay on top of it, the problem I have is that the image is not aligning to the right and consequently the text is not on the image. Is there any way that I could get it to work right.

Code:


address.space {
background: url("../images/bigger_box.jpg") no-repeat;
        width: 300px;
        float:right;
        padding: 1em;
        display: block;
}

CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 189 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

Bledisloe Cup is an inteational Rugby Championship contested annually by Argentina, Australia, New Zealand, and South Africa. Prior to the 2012 touament, when Argentina joined, it was known as the Tri Nations. The competition is administered by SANZAAR, a consortium consisting of four national goveing bodies; the Argentine Rugby Union, Australian Rugby Union, the New Zealand Rugby Union and the South African Rugby Union Bledisloe Cup 2017: What is it? The southe hemisphere's premier inteational touament, formerly known as the Tri-Nations, which sees Argentina, Australia, South Afr CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 124 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

I am trying to add a results filter to my website. When I attempt to concatenate the query, the screen is blank upon form submission. No errors or anything. No content whatsoever. Code: $qry = "SELECT * FROM dining_listings WHERE dining_type = ?";         $conditions[] = array();                                 if(isset($_POST['west'])) {                 $conditions[] = "dining_tags LIKE '%west%'";           CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 200 تاريخ : شنبه 28 مرداد 1396 ساعت: 6:05

Hi Guys I have a call to a JS file on a page Code: <script type="text/javascript" src="test.js"></script> How can I add variables to be passed to the script ? I assume test.js?VAR=1 in the source wont work.. But if it DOES work how can I get the script to then CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 126 تاريخ : يکشنبه 15 مرداد 1396 ساعت: 8:34

Do you want to work at the forefront of defence technologies? Would you like to work on the latest advances of the most iconic and innovative designs of manned and Unmanned Air Vehicles? BAE Systems are looking to recruit individuals to work on challenging Mission Systems Engineering projects, e CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 156 تاريخ : يکشنبه 15 مرداد 1396 ساعت: 8:34

Hi! Next function doesn't work first time when menu item is clicked but works after that. It is located just before </body> tag. Any idea why it doesn't work first time? Code: <script type="text/javascript"> (function ($, NAME) {            v CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 158 تاريخ : يکشنبه 15 مرداد 1396 ساعت: 8:34

Hey everyone!

I don't know where to post something like this, but I'm rolling out a release of a new php package.

Its a Flat File Database for any project. Recognized on packagist for composer installs.

Here is the repo https://github.com/tmarois/Filebase

I am looking for dev testers for some feedback as its almost on its official v1 release, I have added many tests to the repo and code coverage right now is 92%.
Will be working on new features for speed, and flexibility soon, but would like to get some input.

I used to use this a lot in my own projects, but I have now decided to release it to the public as its maturing.
CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 174 تاريخ : يکشنبه 15 مرداد 1396 ساعت: 8:34

Hello! This is my first post here on these forums, so I am sorry if I get something wrong. I am also an absolute beginner when it comes to this type of stuff, as I am trying to self-teach HTML and CSS. I am working on an e-commerce site for my father, and in the footer of the page there is a secti CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 164 تاريخ : يکشنبه 15 مرداد 1396 ساعت: 8:34

Hi! I'm designing my company page (wordpress), and I have encountered a problem. I've added inteal links to a page, where different link at the top of the page links to different sections further down that same page, and it all works perfectly. Except for the fact that an ugly gray border appears CodingForums...
ما را در سایت CodingForums دنبال می کنید

برچسب : نویسنده : codingforums بازدید : 155 تاريخ : يکشنبه 15 مرداد 1396 ساعت: 8:34